local development
This article is a stub. You can help the IndieWeb wiki by expanding it.
local development is (or local dev, local dev setup) the practice of having a version of your site on your local machine like a laptop that you can use for development purposes, even when offline.
gTLDs
.dev
In 2015, Google applied to register the .dev TLD. In their "mission/purpose" description of the application, they stated:
The mission of this gTLD, .dev, is to provide a dedicated domain space in which Google can enact second-level domains specific to its projects in development. Specifically, the new gTLD will provide Google with greater ability to create a custom portal for employees to manage products and services in development.
In mid-2018, Google finally published the first public website at a domain on this gTLD, https://datatransferproject.dev
Criticism
- Google, Our Patron Saint of the Closed Web
- Thanks a lot, Google, for snatching .dev for yourself. It's not like the rest of us wanted it
- Use a .dev domain? Not anymore.
Reserved gTLDs
It is recommended to use one of the IANA reserved gTLDs for development, as these are guaranteed to not be registered by any company in the future.
- .test
- .local
- .example
- .invalid
Recommendations
See Also
- https://indieweb.org/HTTPS#Local - how to get an HTTPS cert for your local dev setup
- https://localtunnel.me per https://chat.indieweb.org/dev/2019-03-02#t1551496167188600
- https://twitter.com/bengoodger/status/1465727343687716873
- "I had an old computer at home, and so to continue playing with this magic, Iβd take floppy disks, and sneaker-net my HTML files back and forth - working on them offline in a text editor, and then uploading them and researching a bunch of new magic when I was online. /12" @bengoodger November 30, 2021
- capjamesg describes his website build process, including his local setup and the code behind it, in My (new) website build process.